package com.zjj.learn.javaplus.pkg02.demo29;

/**
 * 讲师
 **/
public  class Lecturer extends Teacher{
    @Override
    public void work() {
        System.out.println("工号为 " + super.getId() + " 的讲师 " + super.getName() + " 讲课");
    }

    public Lecturer() {
        super();
    }

    public Lecturer(String id, String name) {
        super(id, name);
    }
}
